@layout("/common/_container.html"){
<div class="row">
    <div class="col-sm-12">
        <div class="ibox float-e-margins">
            <div class="ibox-title">
                <h5>标准物质查询管理</h5>
            </div>
            <div class="ibox-content">
                <div class="row row-lg">
                    <div class="col-sm-12">
                        <div class="row">
                            <div class="col-sm-3">
                                <#NameCon id="condition" name="名称" />
                            </div>
                            <div class="col-sm-3">
                                <#button name="搜索" icon="fa-search" clickFun="Standard.search()"/>
                            </div>
                        </div>
                        <div class="hidden-xs" id="StandardTableToolbar" role="group">
                            <!--如果想要将添加显示，则将add0改为add-->
                            @if(shiro.hasPermission("/standard/add0")){
                            <#button name="添加" icon="fa-plus" clickFun="Standard.openAddStandard()"/>
                            @}

                            @if(shiro.hasPermission("/standard/addDoc")){
                            <#button name="添加附件" icon="fa-plus" clickFun="Standard.openAddStandardDoc()"/>
                            @}
                            @if(shiro.hasPermission("/standard/update")){
                                <#button name="修改" icon="fa-edit" clickFun="Standard.openStandardDetail()" space="true"/>
                            @}
                            @if(shiro.hasPermission("/standard/delete")){
                                <#button name="删除" icon="fa-remove" clickFun="Standard.delete()" space="true"/>
                            @}
                            @if(shiro.hasPermission("/standard/download")){
                                <#button name="附件下载" icon="fa-download" clickFun="Standard.download()" space="true"/>
                            @}
                            @if(shiro.hasPermission("/standard/jsBarCode")){
                                <#button name="条码打印" icon="fa-print" clickFun="Standard.openStandardJsBarCode()" space="true"/>
                            @}
                        </div>
                        <#table id="StandardTable"/>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script src="${ctxPath}/static/modular/standard/standard/standard.js"></script>
@}
